package team.xstudio.bedwarstoolkit

import net.minecraftforge.fml.common.Mod
import team.xstudio.bedwarstoolkit.misc.BWTabs
import team.xstudio.bedwarstoolkit.utils.BWUtils
import thedarkcolour.kotlinforforge.forge.MOD_BUS

/**
 * Created in 2025/6/10
 * Project: bedwarstoolkit
 *
 * @author <a href="https://github.com/Bread-Nicecat">Bread_NiceCat</a>
 * <p>
 *
 * <p>
 **/
@Mod(BedWarsToolkit.MOD_ID)
class BedWarsToolkit {
    companion object {
        const val MOD_NAME = "BedWarsToolkit"
        const val MOD_ID = "bedwarstoolkit"
    }

    init {
        BWUtils.LOGGER.info("BedWarsToolkit: ${BWUtils.prefix("helloworld")}")

        BWTabs.REGISTER.register(MOD_BUS)

        if (BWUtils.isLoaded("kubejs")) {
            BWUtils.LOGGER.info("Detected KubeJS")
        }
    }

}